import request from '@/utils/request'

// 查询行动列表
export function listAction_record(query) {
  return request({
    url: '/ring/action_record/list',
    method: 'get',
    params: query
  })
}

// 查询行动详细
export function getAction_record(id) {
  return request({
    url: '/ring/action_record/' + id,
    method: 'get'
  })
}

// 新增行动
export function addAction_record(data) {
  return request({
    url: '/ring/action_record',
    method: 'post',
    data: data
  })
}

// 修改行动
export function updateAction_record(data) {
  return request({
    url: '/ring/action_record',
    method: 'put',
    data: data
  })
}

// 删除行动
export function delAction_record(id) {
  return request({
    url: '/ring/action_record/' + id,
    method: 'delete'
  })
}
